home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4346 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  50 lines

  1. Path: news.uni-c.dk!news
  2. From: Ejner <d6kn@esbjehs.dk>
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Stealing Music..
  5. Date: Thu, 21 Mar 1996 12:36:13 -0800
  6. Organization: Esbjerg Business College
  7. Message-ID: <3151BDBD.464D@esbjehs.dk>
  8. References: <210@ppse.win-uk.net> <31476A6A.4FE1@FairLight.COM>
  9. NNTP-Posting-Host: hermes.esbjehs.dk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14. CC: phoff@ecst.csuchico.edu
  15.  
  16. <phoff@ecst.csuchico.edu> wrote:
  17. > I want to do the following:
  18. >         Steal music from a game.
  19. >         Save the music to disk.
  20. >         Load a pre-defined BASIC program.
  21. >         Play the music with BASIC program.
  22. > How do I do that ?
  23. >         I imagine that I might stop the game with my Action Replay,
  24. > go to the default Music address, save range for the music. Write a
  25. > basic program that will load the music in it's ML form and poke it
  26. > into the SID chip, with the correctly defined voices ETC.
  27. >         BUT, anyone care to tell me how ?
  28.  
  29. Hmm... this suonds like an impossible mission, as the music usually uses 
  30. alot of zeropage addresses... only $fb-$fe are available for user 
  31. programs, which is definately NOT enough, so most musics use some 
  32. zeropage addresses ment for the basic, as the music was ment for MC 
  33. programs anyway... So, you see, basic can┤t play ripped game music!
  34.  
  35. However, a small program, using no sophisticated commands may sometimes 
  36. work just fine... And since there are really no standards in c64 music 
  37. files, all musics has their own players BUILD-IN!! So, rip and save the 
  38. music, and write a program that calls the init and player routines, e.g.:
  39.  
  40. 0 sys $1000
  41. 1 sys $1003:fora=0to5:nexta:goto1
  42.  
  43. Where $1000 is the init and $1003 is the play routines.. (examples, that 
  44. is!)
  45.  
  46. Have fun!
  47.  
  48. Ejner / inZane
  49. d6kn@esbjehs.dk
  50.